eventcontrollermotion: Fix docs
authorBenjamin Otte <otte@redhat.com>
Fri, 21 Feb 2020 22:26:36 +0000 (23:26 +0100)
committerBenjamin Otte <otte@redhat.com>
Sat, 22 Feb 2020 06:33:40 +0000 (07:33 +0100)
gtk/gtkeventcontrollermotion.c

index aaea7081d949c77a78a6b340e48e2f472f71e6c0..180c5cebeb89f2b15357fb610bfa2127a8f79738 100644 (file)
@@ -198,8 +198,8 @@ gtk_event_controller_motion_class_init (GtkEventControllerMotionClass *klass)
    * #GtkEventControllerMotion:contains-pointer.
    *
    * When handling crossing events, this property is updated
-   * before #GtkEventControllerMotion::enter or
-   * #GtkEventControllerMotion::leave are emitted.
+   * before #GtkEventControllerMotion::enter but after
+   * #GtkEventControllerMotion::leave is emitted.
    */
   props[PROP_IS_POINTER] =
       g_param_spec_boolean ("is-pointer",
@@ -215,8 +215,8 @@ gtk_event_controller_motion_class_init (GtkEventControllerMotionClass *klass)
    * See also #GtkEventControllerMotion:is-pointer.
    *
    * When handling crossing events, this property is updated
-   * before #GtkEventControllerMotion::enter or
-   * #GtkEventControllerMotion::leave are emitted.
+   * before #GtkEventControllerMotion::enter but after
+   * #GtkEventControllerMotion::leave is emitted.
    */
   props[PROP_CONTAINS_POINTER] =
       g_param_spec_boolean ("contains-pointer",
@@ -320,7 +320,7 @@ gtk_event_controller_motion_contains_pointer (GtkEventControllerMotion *self)
 
 /**
  * gtk_event_controller_motion_is_pointer:
- * @self: a #GtkEventControllerKey
+ * @self: a #GtkEventControllerMotion
  *
  * Returns the value of the GtkEventControllerMotion:is-pointer property.
  *